<el-table :data="data" border>
    <el-table-column prop="date" label="Date" width="180" />
    <el-table-column v-for="item in columns" :key="item.key" :prop="item.prop" :label="item.label" />
    <el-table-column label="操作" fixed="right" width="120">
        <template #default="{row}">
            <el-button type="text" size="small" @click="edit(row)">修改</el-button>
        </template>
    </el-table-column>
</el-table>
const columns = [
    { prop: 'name', label: '张三', width: '' },
]